<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Cache-Control" content="no-siteapp">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
    
    <meta name="referrer" content="no-referrer-when-downgrade">
    
    <meta name="renderer" content="webkit"/>
    <meta name="force-rendering" content="webkit"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <script>if (/*@cc_on!@*/false || (!!window.MSInputMethodContext && !!document.documentMode)) window.location.href="https://support.dmeng.net/upgrade-your-browser.html?referrer="+encodeURIComponent(window.location.href); </script>
    
    
        <link rel="preload" crossorigin="crossorigin" href="/fonts/roboto/Roboto-Regular.woff2" as="font">
        <link rel="preload" crossorigin="crossorigin" href="/fonts/roboto/Roboto-Bold.woff2" as="font">
    
    
    
        <link rel="shortcut icon" href="/icons/favicon.ico">
    

    
    
        
<link rel="stylesheet" href="/css/mdui.min.v1.0.0.css">

    
    
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/iconfont.css">


    
    

    
        <script data-ad-client="ca-" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    












          


    
    
    <title>
        
            git 仓库的指令 | 吴豪阳的数据库
        
    </title>
    
    
<meta name="generator" content="Hexo 5.4.1"></head>
<body class="mdui-drawer-body-left mdui-appbar-with-toolbar mdui-theme-primary-teal mdui-theme-accent-blue">
  
  <header class="mdui-appbar mdui-appbar-fixed">
  <div id="toolbar" class="mdui-toolbar mdui-color-theme">
    <button class="mdui-btn mdui-btn-icon" mdui-drawer="{target: '#sidebar', swipe: true}"><i class="iconfont icon-menu"></i></button>
    <a href="/" class="mdui-typo-headline">吴豪阳的数据库</a>
    <a href="/" class="header-subtitle mdui-typo-headline"></a>
    <div class="mdui-toolbar-spacer"></div>
    <button class="mdui-btn mdui-btn-icon" mdui-dialog="{target: '#search'}" mdui-tooltip="{content: 'search'}"><i class="iconfont icon-search"></i></button>
  </div>
</header>

<div class="mdui-dialog" id="search">
  
    <div class="search-form">
      <input type="search" class="search-form-input" placeholder="请输入关键字" onfocus="listenSearchFunc()">
    </div>
    <div class="search-result" data-resource="/search.xml"></div>
  
</div>

  <aside id="sidebar" class="mdui-drawer">
    <div class="mdui-tab" mdui-tab>
        <a href="#sidebar-tab1" id="sidebartab" class="mdui-ripple mdui-tab-active">站点概览</a>
        <a href="#sidebar-tab2" id="sidebartab" class="mdui-ripple">关于</a>
    </div>

    
    <div id="sidebar-tab1" class="mdui-p-a-1">
        <div class="mdui-list">
            
                
                <a href="/" class="mdui-list-item mdui-ripple">
                    <div class="mdui-list-item-icon">
                        <i class="iconfont icon-home"></i>
                    </div>
                    <div class="mdui-list-item-content">主页</div>
                </a>
            
                
                <a href="/tags/" class="mdui-list-item mdui-ripple">
                    <div class="mdui-list-item-icon">
                        <i class="iconfont icon-bookmark"></i>
                    </div>
                    <div class="mdui-list-item-content">标签</div>
                </a>
            
                
                <a href="/categories/" class="mdui-list-item mdui-ripple">
                    <div class="mdui-list-item-icon">
                        <i class="iconfont icon-folder"></i>
                    </div>
                    <div class="mdui-list-item-content">分类</div>
                </a>
            
                
                <a href="/archives/" class="mdui-list-item mdui-ripple">
                    <div class="mdui-list-item-icon">
                        <i class="iconfont icon-archive"></i>
                    </div>
                    <div class="mdui-list-item-content">归档</div>
                </a>
            
                
                <a href="/tools/" class="mdui-list-item mdui-ripple">
                    <div class="mdui-list-item-icon">
                        <i class="iconfont icon-tools"></i>
                    </div>
                    <div class="mdui-list-item-content">工具箱</div>
                </a>
            
                
                <a href="/about/" class="mdui-list-item mdui-ripple">
                    <div class="mdui-list-item-icon">
                        <i class="iconfont icon-user"></i>
                    </div>
                    <div class="mdui-list-item-content">关于</div>
                </a>
            
            <div class="mdui-list-item mdui-ripple">
                <div class="mdui-list-item-icon">
                    <i class="iconfont icon-moon"></i>
                </div>
                <div class="mdui-list-item-content">夜间模式</div>
                <label class="mdui-switch" id="darkmode">
                  <input type="checkbox" id="nightmode_switch"/>
                  <i class="mdui-switch-icon"></i>
                </label>
            </div>           
        </div>
    </div>

    
    <div id="sidebar-tab2" class="mdui-p-a-1">
        <div class="sidebar-overview">
            <div class="sidebar-avatar">
                
                    <img src="/icons/avatar.gif"/>
                
            </div>
            <div class="sidebar-author-name">John Doe</div>
            <div class="sidebar-description"></div>
        </div>
        <div class="sidebar-links">
            
                
                <div class="mdui-chip">
                    <span class="mdui-chip-icon"><i class="iconfont icon-mail"></i></span>
                    <a href="mailto:xxx@xxx.com" class="mdui-chip-title">E-Mail</a>
                </div>
            
                
                <div class="mdui-chip">
                    <span class="mdui-chip-icon"><i class="iconfont icon-github"></i></span>
                    <a target="_blank" rel="noopener" href="https://your.url" class="mdui-chip-title">GitHub</a>
                </div>
            
                
                <div class="mdui-chip">
                    <span class="mdui-chip-icon"><i class="iconfont icon-steam"></i></span>
                    <a target="_blank" rel="noopener" href="https://your.url" class="mdui-chip-title">Steam</a>
                </div>
            
                
                <div class="mdui-chip">
                    <span class="mdui-chip-icon"><i class="iconfont icon-weibo"></i></span>
                    <a target="_blank" rel="noopener" href="https://your.url" class="mdui-chip-title">Weibo</a>
                </div>
            
        </div>
        <ul class="mdui-list" mdui-collapse="{accordion: true}">
            <li class="mdui-collapse-item">
                <div class="mdui-collapse-item-header mdui-list-item mdui-ripple">
                    <div class="mdui-list-item-icon">
                        <i class="iconfont icon-link"></i>
                    </div>
                    <div class="mdui-list-item-content">友情链接</div>
                    <div class="mdui-collapse-item-arrow">
                        <i class="mdui-list-item-icon iconfont icon-angle-down"></i>
                    </div>
                </div>
                <ul id="linksList" class="mdui-collapse-item-body mdui-list mdui-list-dense">
                    
                        <a target="_blank" rel="noopener" href="https://garybear.cn/hexo-theme-meadow/" class="mdui-list-item mdui-ripple">
                            Meadow说明文档
                        </a>
                    
                </ul>
            </li>
        </ul>
    </div>

    <div class="mdui-divider"></div>
    
    
</aside>
  
  <main id="main-contain" class="mdui-container mdui-m-t-5">
    <article id="article" class="mdui-card mdui-p-b-2 mdui-m-b-5">
  <header class="mdui-card-media">
    
    
      <div class="post-header"> 
  <a class="post-header-title" href="/2022/02/21/git%E4%BB%93%E5%BA%93%E7%9A%84%E5%88%9B%E5%BB%BA/git%E6%8C%87%E4%BB%A4/">git 仓库的指令</a>
  <div class="post-header-meta">
    <span>
      <span class="iconfont icon-calendar"></span>
      发布于:&nbsp;2022-02-21
    </span>
    <span>
      <span class="iconfont icon-calendar-check"></span>
      更新于:&nbsp;2022-04-06
    </span>
    <span>
      <span class="iconfont icon-folder"></span>
      分类于:&nbsp;<a class="category-link" href="/categories/%E5%88%86%E7%B1%BB/">分类</a>
    </span>
    
      <span>
        <span class="iconfont icon-eye"></span>
        阅读次数:&nbsp;
        <span id="busuanzi_container_page_pv"><span id="busuanzi_value_page_pv"></span></span>
      </span>
    
  </div>
</div>   
    



    
    
    <div class="mdui-card-menu">
    
      <button class="mdui-btn mdui-btn-icon mdui-text-color-teal" mdui-menu="{target: '#share_menu', align: 'right'}"><i class="iconfont icon-share"></i></button>
      <ul class="mdui-menu" id="share_menu">
        <li class="mdui-menu-item">
          <a href="http://service.weibo.com/share/share.php?appkey=&title=git 仓库的指令&url=http://example.com/2022/02/21/git%E4%BB%93%E5%BA%93%E7%9A%84%E5%88%9B%E5%BB%BA/git%E6%8C%87%E4%BB%A4/&pic=http://example.com/null&searchPic=false&style=simple" target="_blank" class="mdui-ripple">分享到 Weibo</a>
        </li>
        <li class="mdui-menu-item">
          <a href="https://twitter.com/intent/tweet?text=git 仓库的指令&url=http://example.com/2022/02/21/git%E4%BB%93%E5%BA%93%E7%9A%84%E5%88%9B%E5%BB%BA/git%E6%8C%87%E4%BB%A4/&via=John Doe" target="_blank" class="mdui-ripple">分享到 Twitter</a>
        </li>
        <li class="mdui-menu-item">
          <a href="https://www.facebook.com/sharer/sharer.php?u=http://example.com/2022/02/21/git%E4%BB%93%E5%BA%93%E7%9A%84%E5%88%9B%E5%BB%BA/git%E6%8C%87%E4%BB%A4/" target="_blank" class="mdui-ripple">分享到 Facebook</a>
        </li>
        <li class="mdui-menu-item">
          <a href="https://plus.google.com/share?url=http://example.com/2022/02/21/git%E4%BB%93%E5%BA%93%E7%9A%84%E5%88%9B%E5%BB%BA/git%E6%8C%87%E4%BB%A4/" target="_blank" class="mdui-ripple">分享到 Google+</a>
        </li>
        <li class="mdui-menu-item">
          <a href="https://www.linkedin.com/shareArticle?mini=true&url=http://example.com/2022/02/21/git%E4%BB%93%E5%BA%93%E7%9A%84%E5%88%9B%E5%BB%BA/git%E6%8C%87%E4%BB%A4/&title=git 仓库的指令" target="_blank" class="mdui-ripple">分享到 LinkedIn</a>
        </li>
        <li class="mdui-menu-item">
          <a href="http://connect.qq.com/widget/shareqq/index.html?site=吴豪阳的数据库&title=git 仓库的指令&summary=&pics=http://example.com/null&url=http://example.com/2022/02/21/git%E4%BB%93%E5%BA%93%E7%9A%84%E5%88%9B%E5%BB%BA/git%E6%8C%87%E4%BB%A4/" target="_blank" class="mdui-ripple">分享到 QQ</a>
        </li>
        <li class="mdui-menu-item">
          <a href="https://telegram.me/share/url?url=http://example.com/2022/02/21/git%E4%BB%93%E5%BA%93%E7%9A%84%E5%88%9B%E5%BB%BA/git%E6%8C%87%E4%BB%A4/&text=git 仓库的指令" target="_blank" class="mdui-ripple">分享到 Telegram</a>
        </li>
      </ul>
    
  </div>
  </header>
  
  
  
  
  <div class="post-tags">
    
      <i class="iconfont icon-tag">
        <a rel="tag" href = /tags/blog/ >blog</a>
      </i>
    
  </div>

  
  <div class="mdui-card-content mdui-typo mdui-p-x-4">
    <h2 id="如果是创建新的仓库"><a href="#如果是创建新的仓库" class="headerlink" title="如果是创建新的仓库"></a>如果是创建新的仓库</h2><p>指令为<br> <code>git init (作用是用来初始化仓库)</code></p>
<p> 输入之后回车 </p>
<p>之后执行<br> <code>git add . （作用添加当前目录的所有文件到暂存区）</code></p>
<p><code>git commit -m </code> ‘（简单理解就是对新数据的描述）’ （’’号里面是用来对本次数据的一个描述） 输入之后回车<br>是用来连接仓库与文件价的路径<br><code>git remote add origin </code> ( <a target="_blank" rel="noopener" href="https://gitee.com/dev-haoyangwu/wu-haoyangs-blog.git">https://gitee.com/dev-haoyangwu/wu-haoyangs-blog.git</a> 这个是你仓库自己生成的路径)<br> 最后执行一下<br> <code> git push -u origin &quot;master&quot;</code></p>
<p><img src="/img/fbdb5b1931e56bc540050263b22b39a.png" alt="avatar"></p>
<h3 id="在你创建最后再次添加的时候可以直接执行一下代码"><a href="#在你创建最后再次添加的时候可以直接执行一下代码" class="headerlink" title="在你创建最后再次添加的时候可以直接执行一下代码"></a>在你创建最后再次添加的时候可以直接执行一下代码</h3><p> <code>git add .</code></p>
<p> <code>git commit -m &#39;&#39;</code></p>
<p> <code>git push </code></p>
<p>就可以把新数据发送到远程的仓库里</p>
<h3 id="git-密钥的设置"><a href="#git-密钥的设置" class="headerlink" title="git 密钥的设置"></a>git 密钥的设置</h3><p> <code>在你git 仓库的文件夹下面 打开命令行 输入</code></p>
<p> <code>ssh-keygen -t rsa -C &quot;自己邮箱&quot;　</code></p>
<p>回车  三次</p>
<p>在我的电脑的C盘中找的用户的文件夹</p>
<p>点开找到 一个纯数字的文件夹 比如 86135文件 点开</p>
<p>.ssh 找到 id_rsa.pub文件 使用记事本打开</p>
<p>ctrl+A 复制  里面的内容  最后粘贴一下到ssh公钥内 起个名字</p>
<h2 id="第一次拉去别人代码时"><a href="#第一次拉去别人代码时" class="headerlink" title="第一次拉去别人代码时"></a>第一次拉去别人代码时</h2><p><code>git init </code> 初始化仓库<br><code>git clone (</code> 后面跟着路径)<br>拉去代码的指令<br>之后<br> <code>使用指令git pull </code></p>
<h2 id="git-回退以前的版本"><a href="#git-回退以前的版本" class="headerlink" title="git  回退以前的版本"></a>git  回退以前的版本</h2><p> <code> git reset --hard (后边跟的时id)</code></p>
<h2 id="如果id忘记可利用"><a href="#如果id忘记可利用" class="headerlink" title="如果id忘记可利用"></a>如果id忘记可利用</h2><p> <code>git  remote</code></p>
<h3 id="查看上传个版本的指令"><a href="#查看上传个版本的指令" class="headerlink" title="查看上传个版本的指令"></a>查看上传个版本的指令</h3><p> <code>git log</code></p>
<p> <code>使用本地储存照片的方法</code></p>
<!-- 

![img](/img/mode(1).png)

 -->
<h2 id="git-status-查看本地仓库状态"><a href="#git-status-查看本地仓库状态" class="headerlink" title="git status 查看本地仓库状态"></a>git status 查看本地仓库状态</h2><h2 id="git-branch-a-是用来查看所有的分支"><a href="#git-branch-a-是用来查看所有的分支" class="headerlink" title="git branch -a  是用来查看所有的分支"></a>git branch -a  是用来查看所有的分支</h2><h3 id="git-checkout-develop-作用是切换到develop分之"><a href="#git-checkout-develop-作用是切换到develop分之" class="headerlink" title="git checkout develop 作用是切换到develop分之"></a>git checkout develop 作用是切换到develop分之</h3><h3 id="git-branch-develop-使用来建立一个叫develop-分支"><a href="#git-branch-develop-使用来建立一个叫develop-分支" class="headerlink" title="git branch develop 使用来建立一个叫develop 分支"></a>git branch develop 使用来建立一个叫develop 分支</h3><h2 id="git-pull-origin-master-拉去所有人-的代码"><a href="#git-pull-origin-master-拉去所有人-的代码" class="headerlink" title="git pull origin  master 拉去所有人 的代码"></a>git pull origin  master 拉去所有人 的代码</h2><h2 id="git-checkout-b-newDevelop-创建一个并且-切换到创建的分支内"><a href="#git-checkout-b-newDevelop-创建一个并且-切换到创建的分支内" class="headerlink" title="git checkout -b newDevelop   创建一个并且 切换到创建的分支内"></a>git checkout -b newDevelop   创建一个并且 切换到创建的分支内</h2><h2 id="git-merge-fenzhiA-fenzhiB-将分支A和分支B-合并成一个"><a href="#git-merge-fenzhiA-fenzhiB-将分支A和分支B-合并成一个" class="headerlink" title="git  merge  fenzhiA fenzhiB   将分支A和分支B 合并成一个"></a>git  merge  fenzhiA fenzhiB   将分支A和分支B 合并成一个</h2><h2 id="（前提是两个分支-都不在工作状态）"><a href="#（前提是两个分支-都不在工作状态）" class="headerlink" title="（前提是两个分支 都不在工作状态）"></a>（前提是两个分支 都不在工作状态）</h2>
  </div>
  <!--文末结束语-->
  
    <div style="text-align:center;color: #ccc;font-size:24px;"> --- 本文结束 <i class="iconfont icon-heartbeat" style="font-size:24px;"></i> The End --- </div>
  
  <!--页脚广告-->
  
  <div class="mdui-divider"></div>
  
  <nav>
    
      <a rel="prev" class="post-nav-item mdui-float-left" href="/2022/02/21/%E8%A1%8C%E4%B8%9A%E6%8A%A5%E5%91%8A/html/">
        <i class="iconfont icon-angle-left"></i>
        <span>HTML</span>
      </a>
    
    
      <a rel="next" class="post-nav-item mdui-float-right" href="/2022/02/21/NRM%E7%9A%84%E5%AE%89%E8%A3%85/NRM%E7%9A%84%E5%AE%89%E8%A3%85%E6%AD%A5%E9%AA%A4/">
        <span>NRM的安装</span>
        <i class="iconfont icon-angle-right"></i>
      </a>
    
  </nav>
</article>




  <div class="toc-button"  style="z-index: 100;">
    <button class="mdui-fab mdui-ripple mdui-color-teal" mdui-menu="{target: '#toc'}"><i class="iconfont icon-list"></i></button>
    <ul class="mdui-menu" id="toc">
      <li class="mdui-menu-item">
        <a href="/2022/02/21/git%E4%BB%93%E5%BA%93%E7%9A%84%E5%88%9B%E5%BB%BA/git%E6%8C%87%E4%BB%A4/" id="toc-header" class="mdui-ripple">文章目录</a>
        <ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%A6%82%E6%9E%9C%E6%98%AF%E5%88%9B%E5%BB%BA%E6%96%B0%E7%9A%84%E4%BB%93%E5%BA%93"><span class="toc-number">1.</span> <span class="toc-text">如果是创建新的仓库</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%9C%A8%E4%BD%A0%E5%88%9B%E5%BB%BA%E6%9C%80%E5%90%8E%E5%86%8D%E6%AC%A1%E6%B7%BB%E5%8A%A0%E7%9A%84%E6%97%B6%E5%80%99%E5%8F%AF%E4%BB%A5%E7%9B%B4%E6%8E%A5%E6%89%A7%E8%A1%8C%E4%B8%80%E4%B8%8B%E4%BB%A3%E7%A0%81"><span class="toc-number">1.1.</span> <span class="toc-text">在你创建最后再次添加的时候可以直接执行一下代码</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#git-%E5%AF%86%E9%92%A5%E7%9A%84%E8%AE%BE%E7%BD%AE"><span class="toc-number">1.2.</span> <span class="toc-text">git 密钥的设置</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E7%AC%AC%E4%B8%80%E6%AC%A1%E6%8B%89%E5%8E%BB%E5%88%AB%E4%BA%BA%E4%BB%A3%E7%A0%81%E6%97%B6"><span class="toc-number">2.</span> <span class="toc-text">第一次拉去别人代码时</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#git-%E5%9B%9E%E9%80%80%E4%BB%A5%E5%89%8D%E7%9A%84%E7%89%88%E6%9C%AC"><span class="toc-number">3.</span> <span class="toc-text">git  回退以前的版本</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%A6%82%E6%9E%9Cid%E5%BF%98%E8%AE%B0%E5%8F%AF%E5%88%A9%E7%94%A8"><span class="toc-number">4.</span> <span class="toc-text">如果id忘记可利用</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E6%9F%A5%E7%9C%8B%E4%B8%8A%E4%BC%A0%E4%B8%AA%E7%89%88%E6%9C%AC%E7%9A%84%E6%8C%87%E4%BB%A4"><span class="toc-number">4.1.</span> <span class="toc-text">查看上传个版本的指令</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#git-status-%E6%9F%A5%E7%9C%8B%E6%9C%AC%E5%9C%B0%E4%BB%93%E5%BA%93%E7%8A%B6%E6%80%81"><span class="toc-number">5.</span> <span class="toc-text">git status 查看本地仓库状态</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#git-branch-a-%E6%98%AF%E7%94%A8%E6%9D%A5%E6%9F%A5%E7%9C%8B%E6%89%80%E6%9C%89%E7%9A%84%E5%88%86%E6%94%AF"><span class="toc-number">6.</span> <span class="toc-text">git branch -a  是用来查看所有的分支</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#git-checkout-develop-%E4%BD%9C%E7%94%A8%E6%98%AF%E5%88%87%E6%8D%A2%E5%88%B0develop%E5%88%86%E4%B9%8B"><span class="toc-number">6.1.</span> <span class="toc-text">git checkout develop 作用是切换到develop分之</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#git-branch-develop-%E4%BD%BF%E7%94%A8%E6%9D%A5%E5%BB%BA%E7%AB%8B%E4%B8%80%E4%B8%AA%E5%8F%ABdevelop-%E5%88%86%E6%94%AF"><span class="toc-number">6.2.</span> <span class="toc-text">git branch develop 使用来建立一个叫develop 分支</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#git-pull-origin-master-%E6%8B%89%E5%8E%BB%E6%89%80%E6%9C%89%E4%BA%BA-%E7%9A%84%E4%BB%A3%E7%A0%81"><span class="toc-number">7.</span> <span class="toc-text">git pull origin  master 拉去所有人 的代码</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#git-checkout-b-newDevelop-%E5%88%9B%E5%BB%BA%E4%B8%80%E4%B8%AA%E5%B9%B6%E4%B8%94-%E5%88%87%E6%8D%A2%E5%88%B0%E5%88%9B%E5%BB%BA%E7%9A%84%E5%88%86%E6%94%AF%E5%86%85"><span class="toc-number">8.</span> <span class="toc-text">git checkout -b newDevelop   创建一个并且 切换到创建的分支内</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#git-merge-fenzhiA-fenzhiB-%E5%B0%86%E5%88%86%E6%94%AFA%E5%92%8C%E5%88%86%E6%94%AFB-%E5%90%88%E5%B9%B6%E6%88%90%E4%B8%80%E4%B8%AA"><span class="toc-number">9.</span> <span class="toc-text">git  merge  fenzhiA fenzhiB   将分支A和分支B 合并成一个</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%EF%BC%88%E5%89%8D%E6%8F%90%E6%98%AF%E4%B8%A4%E4%B8%AA%E5%88%86%E6%94%AF-%E9%83%BD%E4%B8%8D%E5%9C%A8%E5%B7%A5%E4%BD%9C%E7%8A%B6%E6%80%81%EF%BC%89"><span class="toc-number">10.</span> <span class="toc-text">（前提是两个分支 都不在工作状态）</span></a></li></ol>
      </li>
    </ul>
  </div>



    <div id="comment" class="mdui-card mdui-p-a-2 mdui-m-b-5">
      <div class="mdui-tab" mdui-tab>
        
          <a href="#comment-tab0" class="mdui-ripple">gitalk</a>
        
          <a href="#comment-tab1" class="mdui-ripple">livere</a>
        
      </div>
      
        <div id="comment-tab0" class="mdui-p-a-2">
          <div id="gitalk-container"></div>
<link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css">
<script src="https://unpkg.com/gitalk/dist/gitalk.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/js-md5@0.7.3/src/md5.min.js"></script>
<script>
  var gitalk = new Gitalk({
    clientID: '',
    clientSecret: '',
    repo: '',
    owner: '',
    admin: [''],
    id:  md5(location.pathname) ,
    distractionFreeMode: 'true',
  });
  gitalk.render('gitalk-container');
</script>
        </div>
      
        <div id="comment-tab1" class="mdui-p-a-2">
          <div id="lv-container" data-id="city" data-uid="">
  <script type="text/javascript">
    (function (d, s) {
      var j, e = d.getElementsByTagName(s)[0];
      if (typeof LivereTower === 'function') { return; }
      j = d.createElement(s);
      j.src = 'https://cdn-city.livere.com/js/embed.dist.js';
      j.async = true;
      e.parentNode.insertBefore(j, e);
    })(document, 'script');
  </script>
  <noscript>Please enable JavaScript to view the comments powered by LiveRe.</noscript>
</div>
        </div>
      
    </div>

  </main>
  <footer id="footer" class="mdui-text-center mdui-m-t-5 mdui-p-b-2 mdui-p-t-4 mdui-color-theme">
  <div class="mdui-container">
    <div class="mdui-row">
      
        <a href="https://beian.miit.gov.cn" rel="noopener" target="_blank"></a>
      
      <span>
        &copy; 2015 - 2022 
        
          <span style="color:#d9333f" class="iconfont icon-heart"></span>
        
        John Doe
      </span>
    </div>
    <div class="mdui-row">
      
        <div class="mdui-col-xs-6 mdui-text-right">
          <span>Powered by <a href="https://hexo.io/" rel="noopener" target="_blank">Hexo</a></span>
        </div>
        <div class="mdui-col-xs-6 mdui-text-left">
          <span>Theme: <a href="https://github.com/kb1000fx/Meadow" rel="noopener" target="_blank">Meadow</a></span>
        </div>
      
    </div>
    <div class="mdui-row">
      
        <div class="mdui-col-xs-6 mdui-text-right">
          <span id="busuanzi_container_site_uv" style="display: none;"> <span class="iconfont icon-user"></span>总访客量 <span id="busuanzi_value_site_uv"></span></span>
        </div>
        <div class="mdui-col-xs-6 mdui-text-left">
          <span id="busuanzi_container_site_pv" style="display: none;"> <span class="iconfont icon-eye"></span>总访问量 <span id="busuanzi_value_site_pv"></span></span>
        </div>
      
    </div>
 </div>
</footer>
  
  <button id="gotop" class="mdui-fab mdui-fab-fixed mdui-fab-hide mdui-ripple mdui-color-teal" style="z-index:100;"><i class="iconfont icon-arrowup"></i></button>
  
  

    <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>




    <script src="https://cdn.jsdelivr.net/npm/mermaid@8.4.8/dist/mermaid.min.js"></script>
    <script>mermaid.initialize({
        startOnLoad: true,
        theme: "default"
    });</script>




    
<script src="/js/mdui.min.v1.0.0.js"></script>




<script src="/js/meadow.js"></script>

</body>
</html >